package com.kb.medical.entity;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import java.io.Serializable;

/**
 * 用户实体类 SpringBoot约定大于配置
 */
//@Component
@Data
@EqualsAndHashCode
@ToString
public class User extends BaseEntity implements Serializable {
    private String ltd;
    private String username;
    private String fullname;
    private String password;
    private String email;
    private Integer role;
    private Integer status;
    private String phone;
    private Integer gender;//'性别:0-女，1-男',
    private String avatar;
    private Integer isDelete;
    private String salt; //用于加密密码
}
